package com.version.manager.mapper;


import com.version.manager.entity.User;
import com.version.manager.vo.FrontUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface UserMapper extends Mapper<User> {
    String getPassword(@Param("companycode") String companyId,@Param("username") String username);
    User getUserByCompanyCode(@Param("companycode") String companycode,@Param("username") String username);

    FrontUser getFrontUser(@Param("companyId")String companyId);

}
